/*
 * @Author: zws
 * @Date: 2021-02-25 11:09:50
 * @LastEditTime: 2021-05-28 10:22:57
 * @LastEditors: zws
 * @Description: 用户操作
 * @FilePath: \tricolorcat\serve\src\routes\api\user.js
 */
import KoaRouter from 'koa-router';
import UserController from '@/controller/UserController';

const router = new KoaRouter();
router.prefix('/user')

router.get('/login', UserController.login)
router.post('/registration', UserController.registration)
router.post('/registration_verification', UserController.registration_verification)

export default router;